package com.xbn.xbnmall.order.feign;

import com.xbn.xbnmall.order.vo.OrderItemVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

/**
 * @author XBN
 * @date 2020/8/17 20:46
 * @email 78742541@qq.com
 */
@FeignClient("xbnmall-cart")
public interface CartFeignService {
    @GetMapping("/currentUserCartItems")
    public List<OrderItemVo> getCurrentUserCartItems();
}
